﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExchangeCurrencyRate.Entity
{
    /// <summary>
    /// Exchange rate
    /// </summary>
    public class ExchangeRate
    {
        /// <summary>
        /// First currency for rate
        /// </summary>
        public string CurrencyFrom { get; set; }
        /// <summary>
        /// Second currency for rate
        /// </summary>
        public string CurrencyTo { get; set; }
        /// <summary>
        /// Exchange rate date
        /// </summary>
        public DateTime Date { get; set; }
        /// <summary>
        /// Decimal exchange rate value
        /// </summary>
        public decimal Rate { get; set; }
    }
}
